<div class="weui-panel__hd">
	<div class='weui-flex'>
		<div class='weui-flex__item bc-rank bc-btn-group' data-target='#cashier-menu-list-labels' data-port='http://api.hongyanche.com/order/labels'>
			<div class='bc-rank-loading'>
				<i class='weui-loading'></i> 正在加载标签....
			</div>
			<div class='weui-flex bc-rank-template bc-btn-group-btns'>
				<div style='width:60px;margin-top:12px;'>
					<p><category_text rank=1></category_text></p>
				</div>
				<div style='margin-top:12px;'>
					&nbsp;:&nbsp;
				</div>
				<labels rank=r class='weui-flex__item product-label-box'>
					<label class='bc-radio-uncheck'>
						<input autocomplete='off' class='weui-check' type='radio' name='cashier-menu-label' value='__label_id__' /><div><label_text range=1></label_text><br/></div>
					</label>
				</labels>
			</div>
		</div>
		<div style='padding:10px;'>
			<a href="#editor" class="weui-cell_link">菜单编辑 ></a><br/><br/>
			<a data-target='#cashier-menu-list' class="weui-cell_link bc-list-reload">菜单刷新 <i class='i i-refresh'></i> </a>   
		</div>
	</div>
</div>
<input autocomplete='off' id='cashier-menu-list-labels' class='hidden' name='labels' />
<div class="weui-panel__hd">
	<style type="text/css">
		.cashier-menu-line
		{width:31%;padding:0px;margin:1%;cursor: pointer;background:#eee;border:1px solid white;}
		.cashier-menu-line:hover
		{border-color:maroon;}
		.cashier-menu-line-text
		{padding:10px;max-width: 100px;}
	</style>
	<div id='cashier-menu-list' class='bc-list' data-port='http://api.hongyanche.com/mall_admin/menu'>
		<div class='bc-list-template'>
			<div class="cashier-menu-line">
				<div class='weui-flex'>
					<div class='weui-flex__item'>
						<imgurl list=none><img style='width:102px;' class="weui-media-box__thumb" src="" alt=""></imgurl>
						<imgurl list=d><imgurl list=i><img style='width:102px;' class="weui-media-box__thumb" /></imgurl></imgurl>
					</div>
					<div class='weui-flex__item cashier-menu-line-text'>
						<p class='text-nowrap' style='color:teal;text-align: right;'><detail_tips><detail_amount></detail_amount> 种选择 ></detail_tips><br/></p>
						<h3 class="text-nowrap"><name list=1></name><br/></h3>
						<p class='text-nowrap' style="color:maroon">¥ <price_min list=f></price_min><max> ~ <price_max list=f></price_max></max><discount></discount></p>
						<p class='text-nowrap' mute><labels_name list=1></labels_name></p>
						<!-- <p mute style="height: 32px;"><description list=1></description></p> -->
					</div>
				</div>
			</div>
		</div>
		<div class='bc-list-content bc-float'>
		</div>
	</div>
	<style>
		.cashier-menu-title
		{color:#333;font-size: 24px;padding:10px;border-bottom: 1px solid #ccc;}
		.cashier-menu-title-price
		{color:maroon;/*font-weight: bold;font-style: italic1;*/font-size: 18px;}
		.cashier-menu-detail-config
		{font-size: 20px;margin-top:20px;margin-left:20px;clear: both;}
		.cashier-menu-detail-option>div
		{font-size: 16px;width:47%;text-align: center;border:1px solid #aaa;margin:1%;padding:10px 0;cursor: pointer;}
		.cashier-menu-detail-option>div:hover
		{border-color:darksalmon;}
		.cashier-menu-detail-option>div.active,
		.cashier-menu-detail-option>div.active:hover
		{border-color:maroon;color:maroon;}
		.cashier-menu-detail-option>div.disabled,
		.cashier-menu-detail-option>div.disabled:hover
		{border-color:#ddd;color:#ddd;}
	</style>
	<div id='cashier-menu-detail' class='bc-detail' style="display: none;background:#eee;padding:10px;">
		<div class='weui-flex'>
			<div class='weui-flex__item'>
				<imgurl detail=i>
				<img style='width: 100%'/>
			</imgurl>
			<div class='cashier-menu-title'>
				<name id='cashier-menu-name' detail=1></name>
			</div>
			<p mute><description detail=1></description></p>
		</div>
		&nbsp;
		&nbsp;
		<div class='weui-flex__item' style="flex:2;">
			<div class="weui-form-preview">
				<div class="weui-form-preview__hd">
					<label class="weui-form-preview__label">
						<span class='hidden'>#<detail_id id='cashier-menu-detail-id'></detail_id></span>
						<detail_code></detail_code>
					</label>
					<em id='cashier-detail-prices' class="weui-form-preview__value" style='color:maroon;font-weight: bold;'>
						¥ <price_min detail=f>min</price_min><price_max_container> ~ <price_max detail=f>max</price_max></price_max_container> <small><discount detail=d><small mute>(<discount detail=1></discount>%)</small></discount></small>&nbsp;&nbsp;
					</em>
				</div>
				<div style='padding:10px;' id='cashier-menu-detail-option-rank' class='bc-rank no-init'>
					<div class='cashier-menu-config bc-rank-template'>
						<div class='cashier-menu-detail-config'>
							<config_name_cn rank=1></config_name_cn> <small class='hidden' mute>#<config_id rank=1></config_id></small><br/>
						</div>
						<config_options rank=r class='bc-float cashier-menu-detail-option'>
						<div><option_name_cn range=1></option_name_cn><br/></div>
						</config_options>
					</div>
				</div>
				<div style="clear: both"></div>
				<br/>
				<div class="weui-form-preview__ft" style='font-size: 16px;'>
					<a id='cashier-menu-detail-close' class="weui-form-preview__btn weui-form-preview__btn_default" href="javascript:">返回</a>
					<button id='cashier-menu-detail-add' type="submit" class="weui-form-preview__btn weui-form-preview__btn_primary" href="javascript:">添加</button>
				</div>
			</div>
		</div>
	</div>
</div>
</div>